package com.peycash.fachada;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class FachadaException extends Exception{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private final Logger LOGGER = LoggerFactory.getLogger(FachadaException.class);
	
	public FachadaException(){
		super();
	}
	
	public FachadaException(String msg){
		super(msg);
		LOGGER.error(msg);
	}
	
	public FachadaException(Exception e){
		super(e);
		LOGGER.error("", e);
	}
	
	public FachadaException(String msg, Exception e){
		super(msg, e);
		LOGGER.error(msg, e);
	}
	
	
}
